package com.yg.entity.readAndWriteTemplates;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Publications对象", description="对应sheet14表，此表为教师指导本科生公开发表论文一览表")
public class PublicationsRead {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "学生姓名")
    @ExcelProperty(value = "学生姓名")
    private String studentName;

    @ApiModelProperty(value = "专业班级")
    @ExcelProperty(value = "专业班级")
    private String classes;

    @ApiModelProperty(value = "论文题目")
    @ExcelProperty(value = "论文题目")
    private String title;

    @ApiModelProperty(value = "发表时间")
    @ExcelProperty(value = "发表时间")
    @DateTimeFormat("yyyy-MM-dd")
    private String time;

    @ApiModelProperty(value = "发表刊物名称")
    @ExcelProperty(value = "发表刊物名称")
    private String physicsLetters;

    @ApiModelProperty(value = "年卷期页码")
    @ExcelProperty(value = "年卷期页码")
    private String pageNumbers;

    @ApiModelProperty(value = "期刊性质：SCI、中文核心、一般期刊")
    @ExcelProperty(value = "期刊性质")
    private String physicsProperties;

    @ApiModelProperty(value = "学生位次")
    @ExcelProperty(value = "学生位次")
    private Integer arrangement;

    @ApiModelProperty(value = "教师姓名")
    @ExcelProperty(value = "导师姓名")
    private String teacherName;

    private String physicsProperties1;

    private String physicsProperties2;

    @ApiModelProperty(value = "发表刊物名称，年卷期页码")
    private String physicsLettersAndPageNumbers;

    private String start;
    private String end;
    private String startAndEnd;
    private Integer num;


    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Integer deleted;
}
